package org.jeecg.modules.quality.vo;

import java.util.List;
import org.jeecg.modules.quality.entity.BussInspectionStandards;
import org.jeecg.modules.quality.entity.BussInspectionStandardsDetail;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 检验标准维护
 * @Author: jeecg-boot
 * @Date:   2024-07-03
 * @Version: V1.0
 */
@Data
@ApiModel(value="buss_inspection_standardsPage对象", description="检验标准维护")
public class BussInspectionStandardsPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**编号*/
	@Excel(name = "编号", width = 15)
	@ApiModelProperty(value = "编号")
    private String code;
	/**验收标准名称*/
	@Excel(name = "验收标准名称", width = 15)
	@ApiModelProperty(value = "验收标准名称")
    private String name;
	/**检验类型*/
	@Excel(name = "检验类型", width = 15, dicCode = "inspection_type")
    @Dict(dicCode = "inspection_type")
	@ApiModelProperty(value = "检验类型")
    private String inspectionType;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
    private String remark;
	/**备用*/
	@Excel(name = "备用", width = 15)
	@ApiModelProperty(value = "备用")
    private String spare;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;

	@ExcelCollection(name="检验标准明细")
	@ApiModelProperty(value = "检验标准明细")
	private List<BussInspectionStandardsDetail> bussInspectionStandardsDetailList;

}
